package com.jack.blog.service;

import com.jack.blog.vo.info.UserInfo;
import com.jack.blog.vo.UserVo;

public interface UserService {

    UserVo login(String username, String password)throws IllegalArgumentException;
    UserVo getUser(int id)throws Exception;
    void updateUserInfo(int id,UserInfo userInfo)throws Exception;
    void updatePassword(int id,String oldPwd,String newPwd);

}
